:root{
    --white: white;
    --black_kookaa: #362238;
    --grey:  #886c8a;
    --green_kookaa: #6ce69b;
    --dark_green: #4ba36c;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-family: 'Space Mono', monospace;
    font-family: 'Roboto', sans-serif;
}

/* Body */

body{
    font-family: "Roboto", sans-serif;
    background-color: var(--black_kookaa);
}


/* Header */
header{
    background-color: var(--black_kookaa);
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
}

    /* header Logo */
    header img{
        height: 30px;
        margin-top: 17px ;
        margin-bottom: 17px;
        margin-left: 100px;
        padding: auto;
    }

    /* Nav menu */
    .nav{
        width: 100%;
        height: 100%;
        position: fixed;
        overflow: hidden;
        margin-right: 100px;
        color: white;    
    }

    .menu a{
        display: block;
        padding: 23px;
        color: white;
    }

    a{
        text-decoration: none;
        color: var(--black_kookaa);
    }

    ul{
        list-style: none;
    }

    .menu a:hover{
        background-color: var(--grey);
    }

    .menu  a.contact_btn{
      border: none;
      padding: 23px;
      margin-top: 0px;
  } 

    .nav{
        max-height: 0;
        transition: max-height .5s ease-out;
    }

    /* Menu Icon */

    .hamb{
        cursor: pointer;
        float: right;
        padding: 40px 20px;
    }


    .hamb-line {
        background: var(--white);
        display: block;
        height: 2px;
        position: relative;
        width: 24px;
        
    }

    .hamb-line::before,
    .hamb-line::after{
        background: var(--white);
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .3s ease-out;
        width: 100%;
    }

    .hamb-line::before{
        top: 5px;
    }

    .hamb-line::after{
        top: -5px;
    }


    .side-menu {
        display: none;
    }

    /* Toggle menu icon */

    .side-menu:checked ~ nav{
        max-height: 100%;
        background-color: #362238;
        text-align: center;
        font-size: 30px;
    }

    .side-menu:checked ~ .hamb .hamb-line {
        background: transparent;
    }

    .side-menu:checked ~ .hamb .hamb-line::before {
        transform: rotate(-45deg);
        top:0;

    }

    .side-menu:checked ~ .hamb .hamb-line::after {
        transform: rotate(45deg);
        top:0;
    }

      /* Contact form */

      .container {
          position: relative;
          width: 100%;
          min-height: 100vh;
          padding: 2rem;
          background-color: #ffffff;
          overflow: hidden;
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 1;
        }
        
        .form {
          width: 100%;
          max-width: 820px;
          background-color: #ffffff;
          border-radius: 10px;
          box-shadow: 0 0 20px 1px rgba(17, 94, 46, 0.1);
          z-index: 1000;
          overflow: hidden;
          display: grid;
          grid-template-columns: repeat(2, 1fr);
        }
        
        .contact-form {
          background-color:var(--green_kookaa);
          position: relative;
        }
        
        .circle {
          border-radius: 50%;
          background: linear-gradient(135deg, transparent 20%, var(--dark_green) );
          position: absolute;
        }
        
        .circle.one {
          width: 130px;
          height: 130px;
          top: 130px;
          right: -40px;
        }
        
        .circle.two {
          width: 80px;
          height: 80px;
          top: 10px;
          right: 30px;
        }
        
        .contact-form:before {
          content: "";
          position: absolute;
          width: 26px;
          height: 26px;
          background-color:var(--green_kookaa);
          transform: rotate(45deg);
          top: 50px;
          left: -13px;
        }
        
        form {
          padding: 2.3rem 2.2rem;
          z-index: 10;
          overflow: hidden;
          position: relative;
        }
        
        .title {
          color: #fff;
          font-weight: 500;
          font-size: 1.5rem;
          line-height: 1;
          margin-bottom: 0.7rem;
        }
        
        .input-container {
          position: relative;
          margin: 1rem 0;
        }
        
        .input {
          width: 100%;
          outline: none;
          border: 2px solid #fafafa;
          background: none;
          padding: 0.6rem 1.2rem;
          color: #fff;
          font-weight: 500;
          font-size: 0.95rem;
          letter-spacing: 0.5px;
          border-radius: 25px;
          transition: 0.3s;
        }
        
        textarea.input {
          padding: 0.8rem 1.2rem;
          min-height: 150px;
          border-radius: 22px;
          resize: none;
          overflow-y: auto;
        }
        
        .input-container label {
          position: absolute;
          top: 50%;
          left: 15px;
          transform: translateY(-50%);
          padding: 0 0.4rem;
          color: #fafafa;
          font-size: 0.9rem;
          font-weight: 400;
          pointer-events: none;
          z-index: 1000;
          transition: 0.5s;
        }
        
        .input-container.textarea label {
          top: 1rem;
          transform: translateY(0);
        }
        
        .btn {
          padding: 0.6rem 1.3rem;
          background-color: #fff;
          border: 2px solid #fafafa;
          font-size: 0.95rem;
          color:var(--dark_green);
          line-height: 1;
          border-radius: 25px;
          outline: none;
          cursor: pointer;
          transition: 0.3s;
          margin: 0;
        }
        
        .btn:hover {
          background-color: transparent;
          color: #fff;
        }
        
        .input-container span {
          position: absolute;
          top: 0;
          left: 25px;
          transform: translateY(-50%);
          font-size: 0.8rem;
          padding: 0 0.4rem;
          color: transparent;
          pointer-events: none;
          z-index: 500;
        }
        
        .input-container span:before,
        .input-container span:after {
          content: "";
          position: absolute;
          width: 10%;
          opacity: 0;
          transition: 0.3s;
          height: 5px;
          /* color text background form when clicked */
          background-color:var(--green_kookaa);
          top: 50%;
          transform: translateY(-50%);
        }
        
        .input-container span:before {
          left: 50%;
        }
        
        .input-container span:after {
          right: 50%;
        }
        
        .input-container.focus label {
          top: 0;
          transform: translateY(-50%);
          left: 25px;
          font-size: 0.8rem;
        }
        
        .input-container.focus span:before,
        .input-container.focus span:after {
          width: 50%;
          opacity: 1;
        }
        
        .contact-info {
          padding: 2.3rem 2.2rem;
          position: relative;
        }
        
        .contact-info .title {
          color: var(--dark_green);
        }
        

        .text {
          color: var(--black_kookaa);
          margin: 1.5rem 0 2rem 0;
        }
        
        .information {
          display: flex;
          color:var(--black_kookaa);
          margin: 0.7rem 0;
          align-items: center;
          font-size: 0.95rem;
        }
        
        .icon {
          width: 28px;
          margin-right: 0.7rem;
        }
        
        .social-media {
          padding: 2rem 0 0 0;
        }
        
        .social-media p {
          color: var(--black_kookaa);
        }
        
        .social-icons {
          display: flex;
          margin-top: 0.5rem;
        }
        
        .social-icons a {
          width: 35px;
          height: 35px;
          border-radius: 5px;
          background: linear-gradient(45deg, var(--green_kookaa),var(--dark_green));
          color: #fff;
          text-align: center;
          line-height: 35px;
          margin-right: 0.5rem;
          margin-left: 10px;
          transition: 0.3s;
        }
        
        .social-icons a:hover {
          transform: scale(1.05);
        }
        
        .contact-info:before {
          content: "";
          position: absolute;
          width: 110px;
          height: 100px;
          border: 22px solid var(--dark_green);
          border-radius: 50%;
          bottom: -77px;
          right: 50px;
          opacity: 0.3;
        }
        
        .big-circle {
          position: absolute;
          width: 500px;
          height: 500px;
          border-radius: 50%;
          background: linear-gradient(to bottom, var(--green_kookaa), var(--dark_green));
          bottom: 50%;
          right: 50%;
          transform: translate(-40%, 38%);
        }
        
        .big-circle:after {
          content: "";
          position: absolute;
          width: 360px;
          height: 360px;
          background-color: #fafafa;
          border-radius: 50%;
          top: calc(50% - 180px);
          left: calc(50% - 180px);
        }
        
        .square {
          position: absolute;
          height: 400px;
          top: 50%;
          left: 50%;
          transform: translate(181%, 11%);
          opacity: 0.2;
        }

 /* Footer */
    
    .container_footer{
        max-width: 1100px;
        margin:auto;
    }
    .row{
        display: flex;
        flex-wrap: wrap;
    }
    ul{
        list-style: none;
    }

    .bar-icon img {
        display: none;
        cursor: pointer;
    }
    .footer{
        background-color: #362238;
        padding: 70px 0;
    }
    .footer-col{
    width: 25%;
    padding: 0 15px;
    }
    .footer-col h4{
        font-size: 18px;
        color: #ffffff;
        text-transform: capitalize;
        margin-bottom: 35px;
        font-weight: 500;
        position: relative;
        font-family: 'Roboto';

    }
    .footer-col h4::before{
        content: '';
        position: absolute;
        left:0;
        bottom: -10px;
        background-color: #6ce69b;
        height: 2px;
        box-sizing: border-box;
        width: 50px;
    }
    .footer-col ul li:not(:last-child){
        margin-bottom: 10px;
    }
    .footer-col ul li a{
        font-size: 16px;
        text-transform: capitalize;
        color: #ffffff;
        text-decoration: none;
        font-weight: 300;
        color: #bbbbbb;
        display: block;
        transition: all 0.3s ease;
        font-family: 'Roboto';

    }
    .footer-col ul li a:hover{
        color: #ffffff;
        padding-left: 8px;
        
    }
    .footer-col .social-links a{
        display: inline-block;
        height: 40px;
        width: 40px;
        background-color: rgba(255,255,255,0.2);
        margin:0 10px 10px 0;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        color: #ffffff;
        transition: all 0.5s ease;
        font-family: 'Roboto';
    }
    .footer-col .social-links a:hover{
        color: #24262b;
        background-color: #ffffff;
    }

    .footer-col .footer_logo img{
        display: inline-block;
        height: 100px;
        width: 100px;
        margin: 10%;
    }




/* Responsiveness */


@media (max-width: 850px){

    header img{
        margin-left: 50px ;
    }
    .form {
        grid-template-columns: 1fr;
      }
    
      .contact-info:before {
        bottom: initial;
        top: -75px;
        right: 65px;
        transform: scale(0.95);
      }
    
      .contact-form:before {
        top: -13px;
        left: initial;
        right: 70px;
      }
    
      .square {
        transform: translate(140%, 43%);
        height: 350px;
      }
    
      .big-circle {
        bottom: 75%;
        transform: scale(0.9) translate(-40%, 30%);
        right: 50%;
      }
    
      .text {
        margin: 1rem 0 1.5rem 0;
      }
    
      .social-media {
        padding: 1.5rem 0 0 0;
      }
}

@media (max-width: 575px){
    footer.footer .footer_logo{
        display: none;
    }
 
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }
}